#include		"client.h"

Client::Client()
{

}

Client::~Client()
{

}

void			Client::start()
{

}

ApiClient		*Client::getApi()
{
	ApiClient	*api = new ApiClient(this);
	return api;
}

void			Client::addConnection(unsigned int id)
{
	_clients[id] = new Connection;
}

bool			Client::isConnected(unsigned int id) const
{
	return _clients.find(id) != _clients.end();
}